﻿using System;
using System.Collections.Generic;

namespace Jy.Abp.Services;

[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false)]
public class ServiceGroupAttribute : Attribute
{
    public static List<string> Groups = new List<string>();

    public string Group { get; set; }

    public ServiceGroupAttribute(string group)
    {
        Group = group;
        Groups.AddIfNotContains(group);
    }
}



